<template>
  <div class="setting-spare-part" v-loading="loading">
    <!-- start 头部 -->
    <div class="setting-spare-part-header">
      <div class="setting-part-left">
        <p class="setting-back-btn" @click="back">
          <i class="iconfont icon-arrow-left"></i> {{$t('common.base.back')}}
        </p>
        <p class="setting-back-name">{{$t('common.faultLibrary.faultList')}}</p>
      </div>    
      <base-button
        type="primary"
        native-type="submit"
        :disabled="pending"
        @event="onSubmit"
      >{{$t('common.base.save')}}</base-button>
    </div>
    <!-- end 头部 -->
    
    <!-- start content-->
    <div class="setting-spare-part-content">
      
      <div class="setting-spare-li">
        <div class="setting-spare-title">
          <span>{{$t('task.tip.faultTip2')}}</span>
          <el-switch v-model="cardConfig.isInitAdd" class="setting-spare-switch"></el-switch>    
        </div>
        <p class="setting-spare-msg">{{$t('common.faultLibrary.taskTip')}}</p>
      </div>
      
    </div>
  </div>
</template>

<script>
import taskFaultListView from './taskFaultListView';
export default taskFaultListView;
</script>

<style lang="scss">
@import "./taskFaultListView.scss";
</style>